package com.pengshun.modules.api.user.service.dto;

import com.pengshun.modules.api.coal.validator.First;
import com.pengshun.modules.api.coal.validator.Third;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class UserAttentionDto {

    //主键id
    @NotNull(message = "商户id", groups = {Third.class})
    private Long userAttentionId;

    @ApiModelProperty("关注人id")
    private Long userId;

    @ApiModelProperty("商户id")
    @NotNull(message = "商户id", groups = {First.class})
    private Long merchantId;

    @ApiModelProperty("类别id")
    @NotNull(message = "类别id", groups = {First.class})
    private Long merchantCategoryId;

    @ApiModelProperty("创建时间")
    private Date createTime;
}
